import { Module } from '@nestjs/common';
import { SceneTagsService } from './scene-tags.service';
import { SceneTagsController } from './scene-tags.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SceneTag } from './entities/scene-tag.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([SceneTag]), // 💥 必须有这行，注册 repository
  ],
  controllers: [SceneTagsController],
  providers: [SceneTagsService],
})
export class SceneTagsModule {}
